package org.myspringmvc.ssm.service;

import org.myspringmvc.ssm.bean.User;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface UserService {
    /**
     * 根据id获取用户信息
     *
     * @param id
     * @return
     */
    User getById(Long id);
}
